

import 'package:dio/dio.dart';
import 'package:retrofit/retrofit.dart';
import 'package:wechat_manager/network/model/content/article_model.dart';
import 'package:wechat_manager/utils/log_util.dart';

part 'content_service.g.dart';

@RestApi()
abstract class ContentService {
  factory ContentService(Dio dio, {String baseUrl}) = _ContentService;

  @POST("/draft/batchget")
  Future<ArticleModel> getBatchDraft(@Body() Map<String, dynamic> map );

  ///获取已成功发布的消息列表
  @POST("/freepublish/batchget")
  Future<ArticleModel> getBatchPublish(@Body() Map<String, dynamic> map );
}